add library dependencies

chengzhenyu 8 年 前
コミット
3645a8a406
共有1 個のファイルを変更した18 個の追加4 個の削除を含む
  1. 18 4
      app/build.gradle

+ 18 - 4
app/build.gradle

@@ -5,6 +5,18 @@ android {
5 5
     compileSdkVersion 24
6 6
     buildToolsVersion "24.0.0"
7 7
 
8
+    dexOptions {
9
+        incremental true
10
+        preDexLibraries false
11
+        jumboMode true
12
+        javaMaxHeapSize "10g"
13
+    }
14
+
15
+    lintOptions {
16
+        checkReleaseBuilds false
17
+        abortOnError false
18
+    }
19
+    
8 20
     defaultConfig {
9 21
         applicationId "ai.pai.lensman"
10 22
         minSdkVersion 14
@@ -21,15 +33,17 @@ android {
21 33
 }
22 34
 
23 35
 dependencies {
36
+    compile project(path: ':common')
37
+    compile project(path: ':views')
24 38
     compile fileTree(include: ['*.jar'], dir: 'libs')
25 39
     compile 'com.android.support:appcompat-v7:24.0.0'
26 40
     compile 'com.android.support:recyclerview-v7:24.0.0'
27 41
     compile 'com.android.support:design:24.0.0'
28
-
29 42
     compile 'com.jakewharton:butterknife:8.2.1'
30 43
     apt 'com.jakewharton:butterknife-compiler:8.2.1'
44
+    compile 'com.squareup.okhttp3:okhttp:3.4.1'
45
+    compile 'com.squareup.retrofit2:retrofit:2.1.0'
46
+    compile 'com.google.code.gson:gson:2.7'
47
+    compile 'com.squareup.retrofit2:converter-gson:2.1.0'
31 48
 
32
-    compile project(path: ':common')
33
-    compile files('libs/zxing.jar')
34
-    compile project(path: ':views')
35 49
 }